package com.foreknow.dao;

import com.foreknow.entity.Drugstemplate;
import com.foreknow.entity.DrugstemplateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DrugstemplateMapper {
    int countByExample(DrugstemplateExample example);

    int deleteByExample(DrugstemplateExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Drugstemplate record);

    int insertSelective(Drugstemplate record);

    List<Drugstemplate> selectByExample(DrugstemplateExample example);

    Drugstemplate selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Drugstemplate record, @Param("example") DrugstemplateExample example);

    int updateByExample(@Param("record") Drugstemplate record, @Param("example") DrugstemplateExample example);

    int updateByPrimaryKeySelective(Drugstemplate record);

    int updateByPrimaryKey(Drugstemplate record);
}